File propagation tool

ABSTRACT

A method for controlling the flow of files from a development server to another server using a file propagation tool is disclosed. A job comprising at least one file on a development server is created, wherein the at least one file is selected using the file propagation tool loaded on a computer. The job is then copied to the computer. The job is copied to a test server for testing. The job is copied to a live server once the job has been successfully tested.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation application of allowed co-pendingapplication Ser. No. 09/568,174, filed May 9, 2000, of the same title,herein incorporated by reference.

BACKGROUND

When creating a website, a plurality of steps need to be taken in orderto create the website. A website may be created from, for example,twenty to thirty thousand files. The files may need to be tested beforethe website is put on a live server. One method of creating and testinga website is to use the drag and drop method wherein files are draggedfrom one place on a computer screen to another causing the file to betested or sent to the live server. However, the problem with the dragand drop system is that it is fraught with problems and can cause manyerrors. For example, the wrong file can be picked up or the file can bedropped in the wrong place. Furthermore, if a plurality of files needsto be tested together, all of the files may not be picked up. Thus,there is a need for a tool which addresses the two primary problems withwebsite creation, namely, timeliness and quality control.

SUMMARY

A propagation tool is disclosed which automates the process of copyingfiles from the web project to the test and staging servers. Thepropagation tool ensures that the files are copied to the correctlocation and enforces security on a folder-by-folder basis so that userscannot accidentally prop outside their areas of responsibility. It alsoallows users to check the prop status of files and to review the prophistory of each file. By allowing the user to minimize the time it takesto publish content to a live website, it lets the user respond rapidlyto market conditions and events such as those that occur when a securityhole is found in a product or when competitors or the press publishinaccurate information about the user.

A method for controlling the flow of files from a development server toanother server using a file propagation tool is disclosed. A jobcomprising at least one file on a development server is created, whereinthe at least one file is selected using the file propagation tool loadedon a computer. The job is then copied to the computer. The job is copiedto a test server for testing. The job is copied to a live server oncethe job has been successfully tested.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will now be described in detail with reference to thefollowing figures, wherein:

FIG. 1 illustrates a typical computer environment;

FIG. 2 illustrates a publishing system application architectureaccording to embodiments in the present invention;

FIG. 3 illustrates a screen shot of a main screen of the filepropagation tool according to embodiments of the present invention;

FIG. 4 illustrates a history window according to embodiments of thepresent invention;

FIG. 5 illustrates an error window according to embodiments of thepresent invention;

FIG. 6 illustrates an error log screen according to embodiments of thepresent invention;

FIG. 7 illustrates a source save options window according to embodimentsof the present invention;

FIG. 8 illustrates a drop-down list of recent jobs according toembodiments of the present invention;

FIG. 9 is a flowchart illustrating the operation of the propagation toolwith reference to the system architecture illustrated in FIG. 2according to embodiments of the present invention; and

FIGS. 10 and 11 illustrate alternative publishing system applicationarchitectures according to embodiments of the present invention.

DETAILED DESCRIPTION

With reference to FIG. 1, an exemplary system for implementing theinvention includes a general purpose computing device in the form of aconventional personal computer 120, including a processingunit/processor 121, a system memory 122, and a system bus 123 thatcouples various system components including the system memory to theprocessing unit/processor 121. The system bus 123 may be any of severaltypes of bus structures including a memory bus or memory controller, aperipheral bus, and a local bus using any of a variety of busarchitectures. The system memory includes read only memory (ROM) 124 andrandom access memory (RAM) 125. A basic input/output system 126 (BIOS),containing the basic routines that helps to transfer information betweenelements within the personal computer 120, such as during start-up, isstored in ROM 124. The personal computer 120 further includes a harddisk drive 127 for reading from and writing to a hard disk, not shown, amagnetic disk drive 128 for reading from or writing to a removablemagnetic disk 129, and an optical disk drive 130 for reading from orwriting to a removable optical disk 131 such as a CD ROM or otheroptical media. The hard disk drive 127, magnetic disk drive 128, andoptical disk drive 130 are connected to the system bus 123 by a harddisk drive interface 132, a magnetic disk drive interface 133, and anoptical drive interface 134, respectively. The drives and theirassociated computer-readable media provide nonvolatile storage ofcomputer readable instructions, data structures, program modules andother data for the personal computer 120. Although the exemplaryenvironment described herein employs a hard disk, a removable magneticdisk 129 and a removable optical disk 131, it should be appreciated bythose skilled in the art that other types of computer readable mediawhich can store data that is accessible by a computer, such as magneticcassettes, flash memory cards, digital video disks, Bernoullicartridges, random access memories (RAMs), read only memories (ROMs),and the like, may also be used in the exemplary operating environment.

A number of program modules may be stored on the hard disk, magneticdisk 129, optical disk 131, ROM 124, or RAM 125, including an operatingsystem 135, one or more application programs 136, other program modules137 and program data 138. A user may enter commands and information intothe personal computer 120 through input devices such as a keyboard 140and pointing device 142. Other input devices (not shown) may include amicrophone, joystick, game pad, satellite dish, scanner or the like.These and other input devices are often connected to the processing unit121 through a serial port interface 146 that is coupled to the systembus, but may be connected by other interfaces, such as a parallel port,game port or a universal serial bus (USB). A monitor 147 or other typeof display device is also connected to the system bus 123 via aninterface, such as a video adapter 148. In addition to the monitor,personal computers typically include other peripheral output devices(not shown) such as speakers and printers.

The personal computer 120 may operate in a networked environment usinglogical connections to one or more remote computers, such as a remotecomputer 149. The remote computer 149 may be another personal computer,a server, a router, a network PC, a peer device or other common networknode, and typically includes many or all of the elements described aboverelative to the personal computer 120, although only a memory storagedevice 150 has been illustrated in FIG. 1. The logical connectionsdepicted in FIG. 1 include a local area network (LAN) 151 and a widearea network (WAN) 152. Such networking environments are commonplace inoffices, enterprise-wide computer networks, intranets and the Internet.

When used in a LAN networking environment, the personal computer 120 isconnected to the local network 151 through a network interface oradapter 153. When used in a WAN networking environment, the personalcomputer 120 typically includes a modem 154 or other means forestablishing communications over the wide are network 152, such as theInternet. The modem 154, which may be internal or external, is connectedto the system bus 123 via the serial port interface 146. In a networkedenvironment program modules depicted relative to the personal computer120, or portions thereof, may be stored in the remote memory storagedevice. It will be appreciated that the network connections shown areexemplary and other means of establishing communications between thecomputers may be used.

FIG. 2 illustrates publishing system application architecture accordingto one embodiment of the present invention. The publishing systemapplication architecture 200 comprises a user's computer 202, which isconnected, for example, to a plurality of servers, for example, adevelopment server 204, a test server 206, a staging server 212, and abug-tracking server 208. The test server 206 and the bug-tracking server208 are connected to a tester's computer as well. The staging server isconnected to a publication server 214, which contains the live website.The publication user's computer 216 can also be connected to test server206 and the publication server 214. It would be understood to oneskilled in the art that multiple test servers could be used andconnected to different staging servers. Alternatively, the developmentserver 204 can also be connected to the test server 206 so that afterfiles have been successfully tested, the files can be sent to thedevelopment server. The propagation tool of the present invention isloaded onto at least the user's computer.

The propagation tool is an application written as an ActiveX documentobject. By being a document object, the application can be accessed overan Internet as if it were a website. To start the tool, the user goes toa URL, such as, for example, ‘http://’ followed by ‘pbsweb2/publish’. Aslong as the user's computer meets the minimum system requirements, thetool will automatically install on the user's computer. Once the toolhas been installed, the tool then reads a configuration file. This is anXML file that specifies the location of the website being published, thedatabase, for example, a “Visual SafeSource database” (VSS) where thecontent is stored, the locations of the staging test servers, etc.Embodiments of the invention will-be described using a Visual SafeSourcedatabase, but it will be understood that other types of databases canalso be used and the invention is not limited to VSS databases.

When the propagation tool opens the database specified in theconfiguration file, the tool displays the contents of the database in a“tree” view, which operates essentially the same as anexpandable/collapsible list of folders, as illustrated in FIG. 3. In afirst section 302 of the window 300, the tree view of the folders andfiles in the database are displayed.

The tool may indicate the current publishing status of each file in avariety of ways. For example, each file name can be denoted in one of aplurality of colors, wherein each color represents a differentpublishing status. For example, as illustrated in FIG. 3, a Legend 330is provided on the right side 304 of the window 300 so as to remind theuser of what each color means. For example, the color red can be usedfor the publishing status of being edited, the color yellow can be usedto illustrate that the file is in the review and testing stage, thecolor blue can be used to illustrate that the file is in the live andpropping stage, light green can be used to illustrate that the file is afolder, and finally, dark green can be used to illustrate that the fileis in the please wait state. Alternatively, the tool can indicate thecurrent publishing status of each file by using a color-coded icon nextto each file name. For example, a red diamond may indicate that the filehas been checked in. A pink diamond with a check mark may indicate thatthe file is currently checked out of the database by someone else. Ayellow triangle may indicate that the file has been copied to test, butnot to staging. A light green circle may indicate that the file has beencopied to staging. A dark green circle may indicate that the file is onthe live servers. According to one embodiment of the invention, the tooldetermines the status of each file by comparing the file size and dateof the last modification on each of the servers in the publishingsystem. It will be understood that other methods can be used todetermine the status of each file. For example, the status of each filecan be stored in a database and updated every time the file is copied orselected. It will be understood that the different levels of publishingstatus can be represented by various color combinations and/or variousshapes and the invention is not limited to the color schemes and shapesdescribed above.

As illustrated in FIG. 3, the plus and minus buttons can be used toexpand and collapse the branches of the tree illustrated in windowsection 302. The check boxes can be used to select which projects and/orfiles the user wishes to test or publish or work on. The user can clickon the file name to display the user's publishing rights for that fileand to access the publishing history for that file using the historybutton 314. The currently selected file is displayed with a differentbackground color, and the file name also appears in the right hand panelnext to the history button 314. As illustrated in FIG. 3, the “ntserver”file name has been selected in window section 302 and file name appearsnext to the history button 314 in window section 304.

Various buttons and information are displayed in window section 304. Auser name field 306 illustrates the network account name of the currentuser. An account with this name must be set up by the VSS administratorin order for the user to access the database and publish files. Eachaccount may have different levels of publishing rights. For example, thedatabase administrator may wish to restrict publishing rights tospecific people in order to create different levels of project security.A project security window in SafeSource options can be opened toconfigure specific user rights as illustrated in FIG. 7. For example,the VSS administrator can explicitly specify different rights such as,for example, read, check out/check in, add/rename/delete, and destroy.The read designation is used to allow the user to read files, but theuser cannot change the files. Users with this level of project securitywill not be able to publish files using the publishing tool. The checkout/check in status is used to allow the user to checkout files, editthem and check them back in, but the user cannot add new files, renamefiles or delete files. In addition, the user will not be able to publishfiles using the publishing tool. The add/rename/delete status is used toallow the user to perform all basic VSS function operations includingdeleting files, but the user will not be able to permanently destroy afile when deleting files. The user will be able to publish files to thetest server, but will not be able to publish files to the stagingserver. The destroy status is used to allow the user all possiblepublishing options. The user will be able to publish files to both thetest server and the staging server.

Returning to FIG. 3, a project field 308 displays the name of thecurrently displayed VSS project. The publishing rights field 310indicates the publishing rights as determined by the user name and theproject field. The file field 312 displays the name of the currentlyselected file unless a project is selected in which case the file fieldis left blank.

The history button 314 is enabled when a file is selected and disabledwhen a project is selected. When a user clicks on the history button314, a display of the VSS check in history and publishing history forthe selected file are displayed as illustrated in FIG. 4. The historydialog displays a series of action performed on the file including thedate and time that the action occurred and who performed the action. VSSrelated actions are prefixed by “VSS” and publishing related actions areprefixed by “PUB”. More than one history dialog can be opened at onetime. For example, if the user clicks the history button and returns tothe main window, and then selects another file and clicks on the historybutton again, two history windows will be opened.

The prop to test button 316 sends any file with check marks in windowsection 302 to the test server. In addition, a log can be createdlisting all the files that are sent to the test server. Optionally, thelog can also indicate when and by whom the files were sent for testing.When the prop to test button 316 is selected, a notification can be sentvia email or otherwise to the test team in order to notify the test teamthat files have been sent to the test server for testing. In addition,files can be added to the bug-tracking server.

If an error occurs during the prop to testing, an error window isdisplayed when the prop is complete as illustrated in FIG. 5. The errorwindow may indicates how many errors have occurred and prompts the userwhether the user would like to view the error log for a description ofwhat errors have occurred. If the user selects “yes,” the error log willappear in, for example, a Microsoft Excel window. For each fileaffected, the error log displays the path of the file in the VSSdatabase along with the error that occurred in the file. A number ofdifferent error messages can appear in the error log, for example, “propto test permission denied”, “prop to staging permission denied”, “errorcopying to path”, “error creating folder path”, and “error updating filehistory”. It will be understood, that additional error messages couldalso be displayed. The “prop to test permission denied” messageindicates that the user tried to prop a file in a project to the testserver where the user does not have sufficient rights to do so. The“prop to staging permission denied” message indicates that the usertried to prop a file to the staging server in a project where the userdoes not have sufficient publishing rights to do so. The “error copyingto path” message indicates that a network or other file I/O erroroccurred during the attempt to copy the file. This can occur if the userhas publishing rights, but does not have write-access to either the testserver or the staging server. The “error creating folder path” messageindicates that the network or other file I/O error occurred during theattempt to create a new file. This can occur if the user has publishingrights, but does not have write access to either the test server or thestaging server. The “error updating file history” message indicates anetwork or other file I/O error occurred during an attempt to update thepublishing information history for the file. This can occur if the userdoes not have write access to the location where the history informationis stored.

When the prop to staging button, 318, is selected, any files that havecheck marks in the window section 302 are copied to the staging serverif the user has the appropriate level of publishing rights for thatfile. If the user does not have rights to prop to staging, an error willbegin in the error log and in the history for the file. The prop tostaging button 318 only props files of a certain status indicated bytheir color. For example, the prop to staging button 318 only propsfiles that are red or yellow. Red files are first copied to the testserver just as if the user had selected the prop to test button. Thefiles are then copied to the staging server and the file name or iconcolor is changed to green.

The cancel button 320 can be used to cancel a long running prop duringthe prop. The cancel button 320 may only stop the project in betweenfiles, it will not stop the process in the middle of copying a file.

The show log button 322 is used to display the user's local prop logfile. This file is updated whenever a file is propped or an error occursduring the prop process. This file displays the same error informationas described above, but includes the date and time that the erroroccurred. It also includes information about files that were proppedsuccessfully. This file is not erased each time the user requests aprop, and new log information is appended to the file each time an erroroccurs.

The refresh button 324 is used to refresh the user's display of the VSSdatabase. The user may wish to do this if the user knows that one ormore files have been added, renamed, or deleted by someone else sincethe user started the tool and the user wishes to see the changesreflected in the tree view of window 300. When the user clicks therefresh button, the VSS tree view retains any check marks the user mayhave specified and retains the expanded/collapsed state of all projects.

The info button 326 is used to display a message box displaying thecurrent configuration information for the propagation tool. This showsthe network locations of the VSS database, the shadow, the test server,staging server, etc. The information can only be changed by thepropagation tool administrator and is only included for informationalpurposes.

The recent jobs field 328 allows the user to view a predetermined numberof the most recent jobs performed by the user's computer. For example,if the arrow button 329 is selected by the user, a drop-down window witha list of the most recent jobs appears as illustrated in FIG. 8. In FIG.8, the list of recent jobs are identified by the number of items and adate, but the invention is not limited thereto.

The operation of the file propagation tool in the publishing systemillustrated in FIG. 9. First, if it is determined that the user wants torepeat a prior job in step 1001, the user can select a job from therecent jobs list in step 1003. The tool then reselects the files thatcomprise the selected job in step 1005. If the user does not want toselect a prior job, the user selects at least one file listed on thedevelopment server in step 1007. The tool creates a “job” which issimply a list of the selected files and folders. As previouslydescribed, the tool keeps a list of the most recent jobs to allow theuser to easily re-select the same set of files and folders at a latertime.

If the user decides to send the selected files to the test server 206 instep 1009, the tool prompts the user whether the test team should benotified of the test in step 1011. If the user wants to notify the testteam, the tool prompts the user to create a message indicating the teststo be performed on the selected group of files in step 1013. Forexample, a screen can be displayed with some pre-defined tests that canbe selected with check boxes and a message field for providing moredetailed information about test or other information. For example, theuser can choose to indicate the priority level of the test. Anindication is then sent to the test team to notify them that files havebeen copied to the test server for testing. For example, if the systemhas a bug-tracking server, such as Microsoft RAID server, the tool addsan item to the RAID database and assigns the item to the test team instep 1015. The RAID item includes testing information the user providedalong with a list of files the user copied to test. Each person on theteam has a RAID Notifier tool installed. This tool checks the RAIDdatabase once per minute to look for new items, so when files are copiedto the test server for testing, the test team is notified within oneminute. After the tests are completed, the test team assigns the RAIDitem back to the user who copied the files. The RAID Notifier thennotifies the original user that the testing is complete. It will beunderstood that other forms of notification, for example, e-mail, can beused to notify the test team. Alternatively, the test team may not benotified at all. The selected group of files is then copied from thedevelopment server 204 to the user's computer 202 and then from theuser's computer 202 to the test server 206 in step 1017. Alternatively,the files may be copied from the development server to the test server.The status of the files is then updated to indicate that the files arebeing tested and an entry in the test server log file is made whichindicates, for example, the files to be tested, the test selected, date,who requested the test, etc., in step 1025.

Once the specified tests have been performed, it is then determinedwhether the tests were successfully completed. If the tests wereunsuccessful, a message is sent to the user's computer 202 indicatingthat the tests were unsuccessful and optionally the reasons why thetests were unsuccessful. If the testing was successful, a messageindicating that the tests were successfully completed is sent to theuser's computer.

If the user determines that the files should be propped to the stagingserver in step 1009, the tool copies the files from the developmentserver to the test server 206 in step 1019. The user's computer thencopies the files from the test server 206 to the staging server 212 instep 1021. The user can select the previous “job” that the tool storedso that the user doesn't have to manually re-select the same set offiles. By using the job features, the user also ensures that the exactsame set of files is selected so files are not accidentally added oromitted. Alternatively, the selected group of files may be copieddirectly from the test server 206 to the staging server 212. Also, thefiles can be copied from the development server to the staging server212. The status of the selected files is then updated to indicate thatthey are on the staging server and an entry is made in the stagingserver's log file indicating, for example, which files have been copiedto the staging server, the date, the user who copied the files to thestaging server in step 1023. The files can then be copied to a liveserver(s). Alternatively, a separate tool, such as Microsoft's PubWiztool can be used to copy files from the staging server to the liveserver(s). For example, a person on the team for running the PubWiz toolmay periodically check the staging server log file to see if any fileshave been sent to the staging server. The PubWiz tool can then be usedto copy these files to the live server(s) and then clean out the logfile.

As stated above, other publishing system application architectures canbe used with the propagation tool. A simple architecture might comprisea user's computer 1101, a development server 1103, a live server 1105 asillustrated in FIG. 10. The propagation tool could then be used toselect the modified files from the development server 1103 to be copiedto the user's computer 1101 and then copied to the live server 1105.Alternatively, the selected files may be sent directly from thedevelopment server 1103 to the live server 1105. Another possiblearchitecture is illustrated in FIG. 11, in which the architecturecomprises a development server 1203, a test server 1205, a live server1209, a computer 1201 loaded with the propagation tool and a tester'scomputer 1207. It will be understood that the architectures illustratedin FIGS. 2, 10 and 11 are illustrative and the present invention is notlimited to these architectures.

Although the present invention has been described in connection with thepreferred embodiments of the invention, it will be understood by thoseof ordinary skill in the art that many modifications can be made theretowithin the scope of the claims which follow. Accordingly, it is notintended that the scope of the invention in any way be limited by theabove description, but that it be determined by reference to the claimsthat follow.

1. One or more computer readable media storing computer executableinstructions for performing a method for controlling a flow of filesfrom a development server to another server using a file propagationtool, said method comprising the steps of: creating a job, comprising atleast one file in a development server, wherein said at least one fileis selected using said file propagation tool loaded on a computer;copying said job to said computer; sending the job to a testing serverfor testing; generating and sending a message to the testing serverindicating a type of test to be performed on the job; copying said jobto a live server; displaying a screen of said file propagation tool onsaid computer, wherein said screen displays a list of files stored onthe development server, wherein each file name is displayed in one of aplurality of colors, and wherein each color represents different filestatus; and updating the user interface to indicate that the pluralityof files are undergoing testing.
 2. The computer readable mediaaccording to claim 1, wherein in the displaying step, different coloredshapes are displayed next to file names, wherein said different coloredshapes represent different file status.
 3. The computer readable mediaaccording to claim 2, wherein in the displaying step a legend isdisplayed on said screen depicting the meaning of each colored shape. 4.One or more computer readable media storing computer executableinstructions for performing a method for controlling a flow of files,comprising step of: receiving on a user computer a job that referencesat least a plurality of files; propagating the job by sending the jobfrom a development computer to a testing server for testing; generatingand sending a message to the testing server, indicating a type of testto be performed on the job; displaying a user interface that indicates acurrent publishing status of each of the plurality of files as the jobpropagates to a testing server and a live server; and updating the userinterface to indicate that the plurality of files are undergoingtesting.
 5. The computer readable media of claim 4, wherein in thedisplaying step the current publishing status of one of the plurality offiles includes a status of being edited.
 6. The computer readable mediaof claim 5, wherein the current publishing status of another of theplurality of files includes a status of undergoing testing.
 7. Thecomputer readable media of claim 5, wherein the current publishingstatus of another of the plurality of files includes a status of beingon the live server.
 8. The computer readable media of claim 4, whereinthe user computer comprises the development computer.
 9. The computerreadable media of claim 4, wherein each publishing status is displayedin one of a plurality of colors.